package com.mes.service.cb;

import com.mes.dao.cb.SubmiTaskMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @ClassName: SubmiTaskServiceImpl
 * @Description: 更改退货审批状态
 * @Author cb
 * @Date 2018年3月29日15:39:40
 * @version 1.0
 */
@Service
@Transactional
public class SubmiTaskServiceImpl implements SubmiTaskService {

    @Resource
    private SubmiTaskMapper submiTaskMapper;

    @Override
    public int returenMaterie_updateByState(Map<String, Object> map) {
        return submiTaskMapper.returenMaterie_updateByState(map);
    }

    @Override
    public int planMaterie_updateByState(Map<String, Object> map) {
        return submiTaskMapper.planMaterie_updateByState(map);
    }
}
